/*
 * @Date: 2020-07-16 16:50:07
 * @LastEditTime: 2021-02-25 15:51:40
 * @Description: 请求拦截,返回Mock模拟数据,入口
 * @FilePath: \vue-leng\src\mock\index.js
 */ 

import Mock from 'mockjs'
import {lsGetAlarmList} from './mList'

//api
const api = "http://127.0.0.1:8081/api"

const mockLogin = Mock.mock(api + '/login','post',lsGetAlarmList)
const mockGetAlarmList = Mock.mock(api + '/alarm/getAlarmList','get',lsGetAlarmList)
const mockPostDeviceInfo = Mock.mock(api + '/device/postDeviceInfo','post',lsGetAlarmList)

export{
    mockLogin,
    mockGetAlarmList,
    mockPostDeviceInfo
}
